package cmd

import (
	"fmt"

	"gitee.com/mkwchecking/sr-admin/version"
	"github.com/spf13/cobra"
)

var rootCmd = &cobra.Command{
	Use: "srAdmin",
	Run: func(cmd *cobra.Command, args []string) {

		cmd.Help()
		fmt.Println("Version: ", version.Version)
	},
}

func RootCmd() *cobra.Command {
	return rootCmd
}
